package com.java6.mapper;

import com.java6.entity.User;
import com.java6.po.Website;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    //
    int insertUser();

    /**
     *
     */
    void updateUser();

    //void deletesuser();
    List<User> getUserByid();
    List<User> getalluser();

    Map<String,Object> getUserMap(@Param("id") Integer id);

    List<Map<String,Object>> getuserallmap();

    List<User> getuserlike(@Param("name") String name);

    int updateWebsite(User user);

    int updateWebsiteByMap(Map<String, Object> params);



}
